$OpenBSD: patch-gcc_config_arm_elf_h,v 1.2 2010/10/22 15:20:04 jasper Exp $
--- gcc/config/arm/elf.h.orig	Thu Oct 14 09:28:03 2010
+++ gcc/config/arm/elf.h	Thu Oct 14 09:30:16 2010
@@ -46,7 +46,7 @@
 
 #ifndef SUBTARGET_ASM_FLOAT_SPEC
 #define SUBTARGET_ASM_FLOAT_SPEC "\
-%{mapcs-float:-mfloat}"
+%{mapcs-float:-mfloat} %{!mhard-float:-mfpu=softfpa} %{mhard-float:-mfpu=fpa}"
 #endif
 
 #undef SUBSUBTARGET_EXTRA_SPECS
